
<div id="ajaxloginbox">
	<p class="ltext">使用社交帐号登录</p>
	<div class="thlogin"><div>
		<a href="<?=site_url('auth/sinalogin')?>?do=redirect" class="sina">新浪微博登录</a>
		<span>|</span>
		<a href="<?=site_url('auth/qqlogin')?>?do=redirect" class="qq">QQ帐号登录</a>
	</div></div>
	
	<form name="login" method="post" action="<?=site_url('auth/login')?>">
		<p class="ltext">请输入您的用户名及密码</p>
		<div class="formline">
			<label>
				<span>登录名</span>
				<input type="text" class="text" required="required" name="username" requiretip="请填写用户名或注册邮箱登录" placeholder="用户名/邮箱" />
			</label>
		</div>
		<div class="formline">
			<label>
				<span>密　码</span>
				<input type="password" class="text" requiretip="填写登录密码" required="required" name="password" placeholder="******" />
			</label>
		</div>
		<div class="linkline" style="text-align:right">
			<a href="<?=site_url('auth/forgot')?>">忘记密码?</a>
		</div>
		<?php if(FALSE):?><div class="formline checkcodeline">
			<label>
				<span>验证码</span>
				<input type="text" class="text" required="required" name="checkcode" requiretip="请输入右侧图形看到的字符，看不清楚可点击图像刷新" check="min" minlength="4" tip="验证码长度不符"  style="width:180px;float:left"/>
				<img src="<?=site_url('auth/checkcode');?>?t=<?=time()?>" width="100" height="32" border="0" title="点击更换图片" onclick="this.src='<?=site_url('auth/checkcode');?>?t='+new Date().getTime()" />
			</label>
		</div><?php endif;?>
	</form>
</div>